.class Lcom/clarkehackworth/SamsungGalaxySUnlock/Main$5;
.super Ljava/lang/Object;
.source "Main.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/clarkehackworth/SamsungGalaxySUnlock/Main;->onCreateDialog(I)Landroid/app/Dialog;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/clarkehackworth/SamsungGalaxySUnlock/Main;

.field private final synthetic val$c:Landroid/content/Context;


# direct methods
.method constructor <init>(Lcom/clarkehackworth/SamsungGalaxySUnlock/Main;Landroid/content/Context;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/clarkehackworth/SamsungGalaxySUnlock/Main$5;->this$0:Lcom/clarkehackworth/SamsungGalaxySUnlock/Main;

    iput-object p2, p0, Lcom/clarkehackworth/SamsungGalaxySUnlock/Main$5;->val$c:Landroid/content/Context;

    .line 114
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 3
    .parameter "dialog"
    .parameter "whichButton"

    .prologue
    .line 117
    iget-object v2, p0, Lcom/clarkehackworth/SamsungGalaxySUnlock/Main$5;->this$0:Lcom/clarkehackworth/SamsungGalaxySUnlock/Main;

    invoke-static {v2}, Lcom/clarkehackworth/SamsungGalaxySUnlock/Main;->access$1(Lcom/clarkehackworth/SamsungGalaxySUnlock/Main;)Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_0

    .line 118
    new-instance v1, Lcom/clarkehackworth/SamsungGalaxySUnlock/EmailSaveData;

    iget-object v2, p0, Lcom/clarkehackworth/SamsungGalaxySUnlock/Main$5;->val$c:Landroid/content/Context;

    invoke-direct {v1, v2}, Lcom/clarkehackworth/SamsungGalaxySUnlock/EmailSaveData;-><init>(Landroid/content/Context;)V

    .line 120
    .local v1, emailSave:Lcom/clarkehackworth/SamsungGalaxySUnlock/ISaveData;
    :try_start_0
    iget-object v2, p0, Lcom/clarkehackworth/SamsungGalaxySUnlock/Main$5;->this$0:Lcom/clarkehackworth/SamsungGalaxySUnlock/Main;

    invoke-static {v2}, Lcom/clarkehackworth/SamsungGalaxySUnlock/Main;->access$1(Lcom/clarkehackworth/SamsungGalaxySUnlock/Main;)Ljava/lang/String;

    move-result-object v2

    invoke-interface {v1, v2}, Lcom/clarkehackworth/SamsungGalaxySUnlock/ISaveData;->SaveData(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 130
    .end local v1           #emailSave:Lcom/clarkehackworth/SamsungGalaxySUnlock/ISaveData;
    :cond_0
    :goto_0
    return-void

    .line 121
    .restart local v1       #emailSave:Lcom/clarkehackworth/SamsungGalaxySUnlock/ISaveData;
    :catch_0
    move-exception v2

    move-object v0, v2

    .line 123
    .local v0, e:Ljava/lang/Exception;
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method
